<template>
	<view class="content">
		<img class="title-img" src="../../static/img/img/title-img.png" alt="" />
		<view class="con">
			<text class="title">您有一个特殊订场订单</text>
			<view class="con-box">
				<text class="title">{{item.name}}</text>
				<text class="mingxi">{{item.name}}｜{{item.type.value}}｜{{item.useDay}}  {{item.siteDate}}</text>
				<view class="flex-justify-s">
					<text class="time">{{item.timeIntervalStart}}-{{item.timeIntervalEnd}}</text>
					<text class="price">¥{{item.price}}</text>
				</view>
				<view class="flex-align-center">
					<img class="tuikuan" src="../../static/img/img/tuikuan.png" alt="" />
					<text class="is-tuikuan">不支持退款</text>
				</view>
			</view>
			<view class="pay-btn">立即去支付</view>
		</view>
	</view>
</template>

<script setup>
	import {ref,defineProps} from 'vue';
	const props=defineProps(['item']);
	
</script>

<style lang="scss">
	.content {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		background-color: rgba(0, 0, 0, .5);
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;

		.title-img {
			width: 564rpx;
			height: 103rpx;
		}

		.con {
			width: 610rpx;
			height: 622rpx;
			background: linear-gradient(180deg, #BCDCFF 0%, #FFFFFF 100%);
			border-radius: 20rpx;
			display: flex;
			align-items: center;
			flex-direction: column;
			padding-top: 108rpx;
			
			.title {
				font-size: 36rpx;
				font-weight: bold;
				color: #2C2C2C;
				margin-bottom: 26rpx;
			}

			.con-box {
				width: 500rpx;
				height: 238rpx;
				background: rgba(248, 248, 248, 1);
				border-radius: 20rpx;
				margin-bottom: 50rpx;
				padding: 30rpx 14rpx 0 38rpx;
				display: flex;
				flex-direction: column;
				.title{
					font-size: 32rpx;
					font-weight: 500;
					color: #2C2C2C;
					margin-bottom: 16rpx;
				}
				.mingxi{
					font-size: 24rpx;
					font-weight: 400;
					color: #2C2C2C;
					margin-bottom: 16rpx;
				}
				.time{
					font-size: 32rpx;
					font-weight: 500;
					color: #2C2C2C;
					margin-bottom: 14rpx;
				}
				.price{
					font-size: 32rpx;
					font-weight: 400;
					color: #3C66F6;
				}
				.tuikuan{
					width: 20rpx;
					height: 20rpx;
					margin-right: 8rpx;
				}
				.is-tuikuan{
					font-size: 18rpx;
					font-weight: 400;
					color: #B5BACD;
				}
			}
			.pay-btn{
				width: 360rpx;
				height: 100rpx;
				background: rgba(60,102,246,1);
				border-radius: 200rpx;
				text-align: center;
				line-height: 100rpx;
				font-size: 36rpx;
				font-weight: bold;
				color: #FFFFFF;
			}
		}
	}
</style>